package com.hotai.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hotai.comment.pojo.Courseware;
import com.hotai.comment.pojo.CoursewareStudent;
import com.hotai.comment.pojo.UserActive;
import com.hotai.comment.pojo.UserStudent;
import com.hotai.vo.tongji.XuekernelPage;
import com.hotai.vo.userteacher.StuXiuGai;
import com.hotai.vo.userteacher.TeaXiuGai;
import com.hotai.vo.userteacher.UserTeacherJin;
import com.hotai.vo.usestudent.*;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import java.util.Map;

@Mapper
public interface UserStudentMapper  extends BaseMapper<UserStudent> {



    void UpdateBySId(@Param("id") Integer id);

    void UpdateShe(@Param("id") Integer id);

    ArrayList<UserStudentListPage> UserStudentPage(@Param("query") UserStudentList query);

    ArrayList<UserStudentDetailePage> detaile(@Param("queryware") UserStudentdetaile queryware);

    UserStudentDetaliXue  detaileXueid(@Param("queryware") UserStudentdetaile queryware);

    void chongzhi( @Param("id") Integer id,@Param("passwrod")  String  passwrod);

    ArrayList<StudentCourseware> Xuedetaile(@Param("queryware")  UserStudentXUedetaile queryware);

    ArrayList<UserTeacherJin> StuJinBan(@Param("id") Integer id);

    void XIuGai(@Param("query") StuXiuGai teaXiuGai);

    void XiuPhone(@Param("query") TeaXiuGai teaXiuGai);

    void SheXiu(@Param("query") SheChon  sheChon);

    Integer huo();


    Integer zeng(@Param("query") XuekernelPage xuekernelPage);

    void XianZhi(@Param("id")Integer id);

    List<Map<String, Object>> XueCount(@Param("id") Integer id);

    void UpdateJieId(@Param("id") Integer id);

    UserStudentAdd UserStudentByid(@Param("id") Integer id);

    void contact(@Param("id") Integer id);

    void Eqrelieve(@Param("id") Integer id);


    Integer tianDate(@Param("id") String id);

    Integer tongUser(@Param("time") Date date);

    Integer UserCount(@Param("query")  XuekernelPage xuekernelPage);

    Integer userzong();


}
